package org.corey.share.db.service;

import org.corey.share.db.entity.User;
import org.corey.share.throwable.ValidationUserException;

public interface UserService {
	public User validUser(String userName,String password) throws ValidationUserException;

	public boolean rePassword(String userName, String oldPassword,
			String newPassword) throws ValidationUserException;
	
	public User registeUser(User user);
	
	public User getUser(String userName);
}
